package com.yu.base.service;

import org.java_websocket.client.WebSocketClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class ScoketClient {

    @Autowired
    private WebSocketClient webSocketClient;

    public void send(String message) {
        webSocketClient.send(message);
    }

}